/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author Mário
 */
public interface AbstractDao<T, PK extends Serializable> {
    
    public void persist(final T object);

    public void merge(final T object);

    public void remove(final T object);

    public List<T> getAll();

//    public T getById(final PK id);

}
